﻿using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace MySqlStudent.UI.Models.StudentViewModel
{
    public class StudentCreateViewModel
    {
        [Display(Name = "名字")]
        public string Name { get; set; }

        [Display(Name = "主修科目")]
        public MajorEnum? Marjor { get; set; }

        [Display(Name = "电子邮件")]
        public string Email { get; set; }

        [Display(Name = "头像")]
        public List<IFormFile> Phones { get; set; }

        [Display(Name = "入学时间")]
        public DateTime EnrollmentDate { get; set; }
    }
}